{template "mheader.html"}

<div class="portlet light ">
    <div class="portlet-title">
        <div class="caption fc-mall-order-title">
           订单信息
        </div>
    </div>
    <div class="portlet-body">
        <p>订单状态：{order_score_status($data.status)}</p>
        {if $data.status == 2}
        <p>发货时间：{dr_date($data.deliver_time)}</p>
        <p>运单名称：{$data.deliver_name}</p>
        <p>运单编号：<a href="{$delivery.url}" target="_blank">{$data.deliver_sn}</a>
        <div id="kdinfo"></div>
            <script>
                $.get('/index.php?s=mall&c=api&m=kuaidi&sn={$data.deliver_sn}&code={$delivery.code}', function (html) {
                    $('.kdinfo').html(html);
                });
            </script>
        </p>
        {/if}
        <p>商品名称：<a href="{$data.url}" target="_blank">{$data.title}</a></p>
        <p>收货地址：{$data.name},{$data.phone},{$data.address}</p>
        <p>下单时间：{dr_date($data._inputtime)}</p>
        <p>购买积分：{$data.score}</p>
        <p>买家留言：{$data.remark}</p>

    </div>
</div>


{template "mfooter.html"}